﻿
using System.Text;
using System.Data;

namespace Servicios.Data.DataBases.Biblioteca
{
   
    public partial class BibliotecaContext
    {
        /// <summary>
        /// Initialize a new BibliotecaContext object.
        /// </summary>
        public BibliotecaContext(string connectionString) : 
            base(connectionString, "BibliotecaContext")
        {
            this.OnContextCreated();
        }

        /// <summary>
        /// Initializes a new BibliotecaContext object using the connection string found in the 'BibliotecaContext' section of the application configuration file.
        /// </summary>
        public BibliotecaContext() : 
            base("name=BibliotecaContext", "BibliotecaContext")
        {
            this.OnContextCreated();
        }

        /// <summary>
        /// Initialize a new BibliotecaContext object.
        /// </summary>
        public BibliotecaContext(global::System.Data.EntityClient.EntityConnection connection) : 
            base(connection, "BibliotecaContext")
        {
            this.OnContextCreated();
        }

        partial void OnContextCreated();
    }
}
